package com.dsideal.cloud.cas.client.cas.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * CAS认证属性
 *
 * @author suny
 */
@Component
@Data
public class CasConfiguration {
    @Value("${cas.server.host}")
    private String casServerUrl;

    @Value("${cas.server.login}")
    private String casServerLoginUrl;

    @Value("${cas.server.logout}")
    private String casServerLogoutUrl;

    @Value("${cas.client.host}")
    private String appServerUrl;

    @Value("${cas.client.login}")
    private String appLoginUrl;

    @Value("${cas.client.logout}")
    private String appLogoutUrl;

    @Value("${cas.restful.tgtUrl}")
    private String tgtUrl;

    @Value("${cas.restful.stUrl}")
    private String stUrl;
}
